{"ast":null,"code":"/** @license MUI v5.10.16\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/* eslint-disable no-underscore-dangle */\nimport emStyled from '@emotion/styled';\nexport default function styled(tag, options) {\n  var stylesFactory = emStyled(tag, options);\n  if (process.env.NODE_ENV !== 'production') {\n    return function () {\n      var component = typeof tag === 'string' ? \"\\\"\".concat(tag, \"\\\"\") : 'component';\n      for (var _len = arguments.length, styles = new Array(_len), _key = 0; _key < _len; _key++) {\n        styles[_key] = arguments[_key];\n      }\n      if (styles.length === 0) {\n        console.error([\"MUI: Seems like you called `styled(\".concat(component, \")()` without a `style` argument.\"), 'You must provide a `styles` argument: `styled(\"div\")(styleYouForgotToPass)`.'].join('\\n'));\n      } else if (styles.some(function (style) {\n        return style === undefined;\n      })) {\n        console.error(\"MUI: the styled(\".concat(component, \")(...args) API requires all its args to be defined.\"));\n      }\n      return stylesFactory.apply(void 0, styles);\n    };\n  }\n  return stylesFactory;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport var internal_processStyles = function internal_processStyles(tag, processor) {\n  // Emotion attaches all the styles as `__emotion_styles`.\n  // Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186\n  if (Array.isArray(tag.__emotion_styles)) {\n    tag.__emotion_styles = processor(tag.__emotion_styles);\n  }\n};\nexport { ThemeContext, keyframes, css } from '@emotion/react';\nexport { default as StyledEngineProvider } from './StyledEngineProvider';\nexport { default as GlobalStyles } from './GlobalStyles';","map":{"version":3,"names":["emStyled","styled","tag","options","stylesFactory","process","env","NODE_ENV","component","styles","length","console","error","join","some","style","undefined","internal_processStyles","processor","Array","isArray","__emotion_styles","ThemeContext","keyframes","css","default","StyledEngineProvider","GlobalStyles"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@mui/styled-engine/index.js"],"sourcesContent":["/** @license MUI v5.10.16\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/* eslint-disable no-underscore-dangle */\nimport emStyled from '@emotion/styled';\nexport default function styled(tag, options) {\n  const stylesFactory = emStyled(tag, options);\n  if (process.env.NODE_ENV !== 'production') {\n    return (...styles) => {\n      const component = typeof tag === 'string' ? `\"${tag}\"` : 'component';\n      if (styles.length === 0) {\n        console.error([`MUI: Seems like you called \\`styled(${component})()\\` without a \\`style\\` argument.`, 'You must provide a `styles` argument: `styled(\"div\")(styleYouForgotToPass)`.'].join('\\n'));\n      } else if (styles.some(style => style === undefined)) {\n        console.error(`MUI: the styled(${component})(...args) API requires all its args to be defined.`);\n      }\n      return stylesFactory(...styles);\n    };\n  }\n  return stylesFactory;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const internal_processStyles = (tag, processor) => {\n  // Emotion attaches all the styles as `__emotion_styles`.\n  // Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186\n  if (Array.isArray(tag.__emotion_styles)) {\n    tag.__emotion_styles = processor(tag.__emotion_styles);\n  }\n};\nexport { ThemeContext, keyframes, css } from '@emotion/react';\nexport { default as StyledEngineProvider } from './StyledEngineProvider';\nexport { default as GlobalStyles } from './GlobalStyles';"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OAAOA,QAAQ,MAAM,iBAAiB;AACtC,eAAe,SAASC,MAAM,CAACC,GAAG,EAAEC,OAAO,EAAE;EAC3C,IAAMC,aAAa,GAAGJ,QAAQ,CAACE,GAAG,EAAEC,OAAO,CAAC;EAC5C,IAAIE,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,EAAE;IACzC,OAAO,YAAe;MACpB,IAAMC,SAAS,GAAG,OAAON,GAAG,KAAK,QAAQ,eAAOA,GAAG,UAAM,WAAW;MAAC,kCAD5DO,MAAM;QAANA,MAAM;MAAA;MAEf,IAAIA,MAAM,CAACC,MAAM,KAAK,CAAC,EAA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